/**
   \file      ConsoleLog.cpp
   \brief     This is a console log device implementation.
   \author    Marco Siciliano

   LibLog implementation.
 
   A library to log into several devices.
   Copyright (C) Marco Siciliano 2002 [marco@siciliano.de]

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2 of the License, or
   (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/


#include <iostream>
#include "ConsoleLog.hpp"

CConsoleLog::CConsoleLog() : CBaseLog("ConsoleLog")
{
}

CConsoleLog::~CConsoleLog()
{
}



void CConsoleLog::logDebug  (const std::string &eventMessage)
{
    std::cout << eventMessage << std::flush;
}

void CConsoleLog::logMessage(const std::string &eventMessage)
{
    std::cout << eventMessage << std::flush;
}

void CConsoleLog::logError  (const std::string &eventMessage)
{
    std::cerr << eventMessage;
}

void CConsoleLog::logFatal  (const std::string &eventMessage)
{
    std::cerr << eventMessage;
}

